diff options
author | Tom Saeger <tom.saeger@gmail.com> | 2017-09-06 23:14:03 -0500 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-09-08 22:24:27 +0200 |
commit | d6cebc8b3942eda96ae527a30039c5ca9f6362c0 (patch) | |
tree | ee6cc772ef6180b1f51f7edd91b5eb740aab6c35 | |
parent | 76437e5e5ac2300fcb79a344511ed7a15d908cd0 (diff) |
pythonPackages.dotfiles: 0.6.3 -> 0.6.4
-rw-r--r-- | pkgs/applications/misc/dotfiles/default.nix | 24 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 17 |
3 files changed, 26 insertions, 17 deletions
diff --git a/pkgs/applications/misc/dotfiles/default.nix b/pkgs/applications/misc/dotfiles/default.nix new file mode 100644 index 000000000000..1d3c405b7038 --- /dev/null +++ b/pkgs/applications/misc/dotfiles/default.nix @@ -0,0 +1,24 @@ +{ stdenv, pythonPackages }: + +pythonPackages.buildPythonApplication rec { + pname = "dotfiles"; + name = "${pname}-${version}"; + version = "0.6.4"; + + src = pythonPackages.fetchPypi { + inherit version pname; + sha256 = "03qis6m9r2qh00sqbgwsm883s4bj1ibwpgk86yh4l235mdw8jywv"; + }; + + # No tests in archive + doCheck = false; + + checkInputs = with pythonPackages; [ pytest ]; + propagatedBuildInputs = with pythonPackages; [ click ]; + + meta = with stdenv.lib; { + description = "Easily manage your dotfiles"; + homepage = https://github.com/jbernard/dotfiles; + license = licenses.isc; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f2c2986ff0c8..3006b8a95ac7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -105,6 +105,8 @@ with pkgs; docker_compose = pythonPackages.docker_compose; + dotfiles = callPackage ../applications/misc/dotfiles { }; + dotnetenv = callPackage ../build-support/dotnetenv { dotnetfx = dotnetfx40; }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0ab1ff74b0e0..bcb471b9f752 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5121,23 +5121,6 @@ in { }; }; - dotfiles = buildPythonPackage rec { - name = "dotfiles-0.6.3"; - - src = pkgs.fetchurl { - url = "mirror://pypi/d/dotfiles/${name}.tar.gz"; - sha256 = "45ecfd7f2ed9d0f2a7ac632c9bd0ebdca758d8bbc2b6f11562579d525f0467b8"; - }; - - doCheck = true; - - meta = { - description = "Easily manage your dotfiles"; - homepage = https://github.com/jbernard/dotfiles; - license = licenses.isc; - }; - }; - dopy = buildPythonPackage rec { version = "2016-01-04"; name = "dopy-${version}"; |