diff options
author | Robin Gloster <mail@glob.in> | 2016-01-25 21:14:17 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-01-30 20:31:04 +0000 |
commit | f295fef41151c2320f81b635f8f277e4254055a6 (patch) | |
tree | f6b49f7f9112c2bffe89ef4682ef531838eddcff /pkgs/applications | |
parent | 6950c4346796036e882f651402dacdcdf6cd32aa (diff) |
tailor: refactor from builderDefsPackage
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/version-management/tailor/default.nix | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/pkgs/applications/version-management/tailor/default.nix b/pkgs/applications/version-management/tailor/default.nix index 5164ed6a9b44e..ebc0906fc6bb3 100644 --- a/pkgs/applications/version-management/tailor/default.nix +++ b/pkgs/applications/version-management/tailor/default.nix @@ -1,6 +1,9 @@ -args @ { makeWrapper, python, ... }: with args; -let version = if args ? version then args.version else "0.9.35"; in -rec { +{ stdenv, fetchurl, pythonPackages }: + +pythonPackages.buildPythonPackage rec { + name = "tailor-${version}"; + version = "0.9.35"; + src = fetchurl { urls = [ "http://darcs.arstecnica.it/tailor/tailor-${version}.tar.gz" @@ -9,13 +12,6 @@ rec { sha256 = "061acapxxn5ab3ipb5nd3nm8pk2xj67bi83jrfd6lqq3273fmdjh"; }; - buildInputs = [python makeWrapper]; - configureFlags = []; - - /* doConfigure should be specified separately */ - phaseNames = ["installPythonPackage" "wrapBinContentsPython"]; - - name = "tailor-" + version; meta = { description = "Version control tools integration tool"; }; |