Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

pythonPackages.bitstring: move to python-modules/

Easier maintenance when expressions are in separate files.

+22 -20
+21
pkgs/development/python-modules/bitstring/default.nix
··· 1 + { stdenv, buildPythonPackage, fetchPypi }: 2 + 3 + buildPythonPackage rec { 4 + pname = "bitstring"; 5 + version = "3.1.5"; 6 + name = "${pname}-${version}"; 7 + 8 + src = fetchPypi { 9 + inherit pname version; 10 + sha256 = "1algq30j6rz12b1902bpw7iijx5lhrfqhl80d4ac6xzkrrpshqy1"; 11 + extension = "zip"; 12 + }; 13 + 14 + meta = with stdenv.lib; { 15 + description = "Module for binary data manipulation"; 16 + homepage = "https://github.com/scott-griffiths/bitstring"; 17 + license = licenses.mit; 18 + platforms = platforms.linux; 19 + maintainers = with maintainers; [ bjornfor ]; 20 + }; 21 + }
+1 -20
pkgs/top-level/python-packages.nix
··· 1940 1940 }; 1941 1941 }; 1942 1942 1943 - 1944 - bitstring = buildPythonPackage rec { 1945 - pname = "bitstring"; 1946 - version = "3.1.5"; 1947 - name = "${pname}-${version}"; 1948 - 1949 - src = fetchPypi { 1950 - inherit pname version; 1951 - sha256 = "1algq30j6rz12b1902bpw7iijx5lhrfqhl80d4ac6xzkrrpshqy1"; 1952 - extension = "zip"; 1953 - }; 1954 - 1955 - meta = { 1956 - description = "Module for binary data manipulation"; 1957 - homepage = "https://github.com/scott-griffiths/bitstring"; 1958 - license = licenses.mit; 1959 - platforms = platforms.linux; 1960 - maintainers = with maintainers; [ bjornfor ]; 1961 - }; 1962 - }; 1943 + bitstring = callPackage ../development/python-modules/bitstring { }; 1963 1944 1964 1945 blaze = callPackage ../development/python-modules/blaze { }; 1965 1946